import aa.Dog;

public class Student {

    /*public String name;
    public int age;
    public int id;*/
    private String name;
    private int age;
    private int id;
    public static String classroom="Java";
    public Student(String name,int age,int id){
        this.name = name;
        this.age  = age;
        this.id = id;
    }
    public void PrintStudent(){
        System.out.println(this.name+this.age+this.id);
    }
    private void doClass() {
        System.out.println(this.name + "正在上课...");
    }

    public static void main3(String[] args) {
        Student student = new Student("张三",20,1);
        Student student1 = new Student("lisi",19,2);
        System.out.println(Student.classroom);
        //System.out.println(student.classroom);
    }
    public static void main2(String[] args) {
        Student student = new Student("张三",20,1);
        Student student1 = new Student("lisi",19,2);
        student1.doClass();

    }
}
